using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace jtifedit {
    public partial class WIP : UserControl {
        public WIP() {
            InitializeComponent();
        }

        private void WIP_Load(object sender, EventArgs e) {

        }

        public override string Text {
            get {
                return label1.Text;
            }
            set {
                label1.Text = value;
                Update();
            }
        }

        public static WIP Show(Control Parent, String text) {
            WIP wip = new WIP();
            wip.BorderStyle = BorderStyle.FixedSingle;
            wip.Dock = DockStyle.Fill;
            wip.Text = text;
            wip.Parent = Parent;
            wip.BringToFront();
            Parent.Update();
            return wip;
        }
    }
}
